﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Mortgage.DDL
{
    public class CustomerInfoUI
    {
        public CustomerUI Profile { set; get; }
        public List<AccountInfoUI> Accounts { set; get; }

        public CashHoldingUI CashHolding { set; get; }
        public List<StocksUI> StocksHolding { set; get; }

        public List<ContractUI> OpenContracts { set; get; }
        public List<ContractUI> ClosedContracts { set; get; }

        public CustomerInfoUI(){}
        public CustomerInfoUI(CustomerUI profile, List<AccountInfoUI> accounts, CashHoldingUI cash, List<StocksUI> stocks, List<ContractUI> openContracts, List<ContractUI> closedContracts)
        {
            Profile = profile;
            Accounts = accounts;
            CashHolding = cash;
            StocksHolding = stocks;
            OpenContracts = openContracts;
            ClosedContracts = closedContracts;
        }

    }
}
